package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 大学专业分数线表 university_major_score
 * 
 * @author ruoyi
 */
public class UniversityMajorScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分数线ID */
    @Excel(name = "分数线序号", cellType = ColumnType.NUMERIC)
    private Long id;

    /** 大学专业关联ID */
    @Excel(name = "大学专业关联ID", cellType = ColumnType.NUMERIC)
    private Long universityMajorId;

    /** 招生年份 */
    @Excel(name = "招生年份", cellType = ColumnType.NUMERIC)
    private Integer enrollYear;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 计划招生数 */
    @Excel(name = "计划招生数", cellType = ColumnType.NUMERIC)
    private Integer planCount;

    /** 投档分数线 */
    @Excel(name = "投档分数线", cellType = ColumnType.NUMERIC)
    private Integer score;

    /** 最低位次 */
    @Excel(name = "最低位次", cellType = ColumnType.NUMERIC)
    private Integer minRank;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 大学名称（非数据库字段） */
    @Excel(name = "大学名称")
    private String universityName;

    /** 专业名称（非数据库字段） */
    @Excel(name = "专业名称")
    private String majorName;

    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getUniversityMajorId()
    {
        return universityMajorId;
    }

    public void setUniversityMajorId(Long universityMajorId)
    {
        this.universityMajorId = universityMajorId;
    }

    public Integer getEnrollYear()
    {
        return enrollYear;
    }

    public void setEnrollYear(Integer enrollYear)
    {
        this.enrollYear = enrollYear;
    }

    public String getProvince()
    {
        return province;
    }

    public void setProvince(String province)
    {
        this.province = province;
    }

    public Integer getPlanCount()
    {
        return planCount;
    }

    public void setPlanCount(Integer planCount)
    {
        this.planCount = planCount;
    }

    public Integer getScore()
    {
        return score;
    }

    public void setScore(Integer score)
    {
        this.score = score;
    }

    public Integer getMinRank()
    {
        return minRank;
    }

    public void setMinRank(Integer minRank)
    {
        this.minRank = minRank;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getUniversityName()
    {
        return universityName;
    }

    public void setUniversityName(String universityName)
    {
        this.universityName = universityName;
    }

    public String getMajorName()
    {
        return majorName;
    }

    public void setMajorName(String majorName)
    {
        this.majorName = majorName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("universityMajorId", getUniversityMajorId())
            .append("enrollYear", getEnrollYear())
            .append("province", getProvince())
            .append("planCount", getPlanCount())
            .append("score", getScore())
            .append("minRank", getMinRank())
            .append("status", getStatus())
            .append("universityName", getUniversityName())
            .append("majorName", getMajorName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
} 